package com.zhaogang.week3;

import java.util.ArrayList;
import java.util.List;

public class ArrayListTest {

	public static void main(String[] args) {
	List<String> list = new ArrayList<String>();
	list.add("1");
	list.add("2");
	list.add("3");
	list.get(1);
	for (String s : list) {
		System.out.println(s);
	}
	System.out.println(list.size());
	}

}
